package com.bw.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.kafka.common.protocol.types.Field;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 
 * @TableName material_order
 */
@TableName(value ="material_order")
@Data
public class MaterialOrder implements Serializable {
    /**
     * 
     */
    private String id;

    /**
     * 
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date orderDate;

    /**
     * 
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date deliveryDate;

    /**
     * 
     */
    private String contractNumber;

    /**
     * 
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date contractDate;

    /**
     * 
     */
    private String contractAddress;

    /**
     * 
     */
    private String packages;

    /**
     * 
     */
    private String taxRate;

    /**
     * 
     */
    private String orderRemark;

    /**
     * 
     */
    private Integer num;

    /**
     * 
     */
    private String materialRemark;

    /**
     * 
     */
    private String materialPic;

    /**
     * 
     */
    private Integer clientId;

    /**
     * 
     */
    private Integer materialId;


    private String orderStatus;

    private String issueStatus;

    private String productionStatus;

    private String shipmentsStatus;

    private String collectionStatus;

    @TableField(exist = false)
    private Integer remainingDays;


    @TableField(exist = false)
    private Integer overdueDays;

    @TableField(exist = false)
    private String client;

    @TableField(exist = false)
    private String mname;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}